package com.fyzk.bean;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * 银行卡转卡
 */
public class RechargeBankTransform implements Parcelable {

    /**
     * name : 贺道华
     * cardNum : 6217752510000479156
     * bankAddre :
     * bankName : 徽商银行
     */
    private String name;
    private String cardNum;
    private String bankAddre;
    private String bankName;
    private String money;

    public RechargeBankTransform() {
    }

    protected RechargeBankTransform(Parcel in) {
        name = in.readString();
        cardNum = in.readString();
        bankAddre = in.readString();
        bankName = in.readString();
        money = in.readString();
    }

    public static final Creator<RechargeBankTransform> CREATOR = new Creator<RechargeBankTransform>() {
        @Override
        public RechargeBankTransform createFromParcel(Parcel in) {
            return new RechargeBankTransform(in);
        }

        @Override
        public RechargeBankTransform[] newArray(int size) {
            return new RechargeBankTransform[size];
        }
    };

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCardNum() {
        return cardNum;
    }

    public void setCardNum(String cardNum) {
        this.cardNum = cardNum;
    }

    public String getBankAddre() {
        return bankAddre;
    }

    public void setBankAddre(String bankAddre) {
        this.bankAddre = bankAddre;
    }

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    public String getMoney() {
        return money;
    }

    public void setMoney(String money) {
        this.money = money;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(name);
        dest.writeString(cardNum);
        dest.writeString(bankAddre);
        dest.writeString(bankName);
        dest.writeString(money);
    }
}
